<template>
    <div class="switchBox"><span>{{label}}</span><input type="checkbox" checked='checked' v-model="checked"></div>
</template>
<script>
export default {
    props:['label'],
    data(){
        return{
            checked:false
        }
    }
}
</script>
<style lang="scss" scoped>
    .switchBox{
        width: 100%;
        height: 45px;
        background: #fff;
        display: flex;
        align-items: center;
        padding: 0 15px;
        justify-content: space-between;
    }
</style>